import java.util.Enumeration;
import java.util.Iterator;
import java.util.Map;
import java.util.Properties;


public class SystemProps
{

	public static void main(String[] args)
	{
		//Properties props = System.getProperties();
		
		//props.list(System.out);
		
//		for (Iterator iter = props.entrySet().iterator(); iter.hasNext(); )
//		{
//			Map.Entry entry = (Map.Entry) iter.next();
//			System.out.println(entry.getKey() + " = " + entry.getValue());
//		}
		
		String propKeyLibraryPath = "java.library.path";
		String propKeyClassPath = "java.class.path";
		String propKeyBootClassPath = "sun.boot.class.path";
		
		System.out.println("java.home = " + System.getProperty("java.home"));
		System.out.println(propKeyLibraryPath + " = " + System.getProperty(propKeyLibraryPath));
		System.out.println(propKeyClassPath + " = " + System.getProperty(propKeyClassPath));
		System.out.println(propKeyBootClassPath + " = " + System.getProperty(propKeyBootClassPath));
		System.out.println("java.ext.class.path = " + System.getProperty("java.ext.class.path"));
	}

}
